home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1997 April / PC Shareware 1997-04.iso / programy / happy / unhappy.bat < prev    next >
Encoding:
DOS Batch File  |  1996-11-28  |  1.3 KB  |  43 lines

  1. @echo off
  2. echo .
  3. echo . UN-Installing HAPPY BUTTON for Windows95
  4. echo .
  5. choice /c:YN /n ". Do you really wish to un-install HappyButton ? "
  6. if errorlevel 2 goto NO
  7. if errorlevel 1 goto YES
  8. :NO
  9. echo .
  10. echo . NO ! UNINSTALL ABORTED ... Restarting Windows
  11. goto END
  12. :YES
  13. echo .
  14. echo . YES ! Removing HappyButton
  15. echo .
  16. echo .   Restoring USER_EXE.BAK to %winbootdir%\SYSTEM\USER.EXE
  17. copy %winbootdir%\system\user_exe.bak %winbootdir%\system\user.exe /y >nul
  18. echo .
  19. echo .   Deleting USER_EXE.BAK
  20. del %winbootdir%\system\user_exe.bak >nul
  21. echo .
  22. echo .   Deleting Install Files ( in other words, you will have to download
  23. echo .                            HappyButton again if you change your mind )
  24. del install.pif
  25. del readme.txt
  26. del user.ex_
  27. del happy.bat
  28. echo .
  29. echo . DONE ! Some files related to this application could not be removed.
  30. echo .        You may delete them manually when Windows restarts.
  31. echo .
  32. echo .   If the only reason you are deleting HappyButton is because you do
  33. echo .   not like the happy-face icon, you can still customize the START
  34. echo .   button yourself.
  35. echo .
  36. echo .      e-mail : spot@null.net
  37. echo .         WWW : http://www.geocities.com/Athens/6508/
  38. echo .
  39. choice /c:X /n ". Press X to Return to Windows95"
  40. goto END
  41. :END
  42. echo .
  43.